<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title>{$Think.lang.web_title}</title>
<load href="__STATIC__/Css/reset.css" />
<load href="__STATIC__/Css/zh-cn-system.css" />
<link rel="stylesheet" rev="stylesheet" type="text/css" media="print" href="__STATIC__/Css/print.css" />
<script type="text/javascript" src="/Public/js/jquery.min.js"></script>
<script type="text/javascript" src="/Public/js/main.js"></script>
<script type="text/javascript" src="/Public/artDialog/jquery.artDialog.js?skin=default"></script>
<script type="text/javascript" src="/Public/artDialog/plugins/iframeTools.js"></script>
<script type="text/javascript">
$(function(){
	$.get("__URL__/getBalance/",function(data){
		$('#qr').html(data.data.qr);
		$('#code').html(data.data.code);
		$('#sms').html(data.data.sms);
	},'json')

	//$(window.parent.document).find("#today").show();
})
</script>
</head>
<style>
.red{padding:0 3px;}
.content{}
.rank-list{ height: 26px; line-height: 26px;}

</style>
<body>
<div id="main_frameid" class="pad-10 display" style="_margin-right:-12px;_width:98.9%;">
    <div class="index-left"  style="width:49%; float:left">

    	<div class="col-2 lf mr10" style="width:100%; margin-top:10px;">
            <h6> 账户信息</h6>
            <div class="content">
            您好，{$userInfo.username}<br />
            <div class="bk20 hr"><hr /></div>
        	   所属角色：{$userInfo.role_id|get_role_name}<br />
            <div class="bk20 hr"><hr /></div>
       	    手机： {$userInfo.phone}<br />
            <div class="bk20 hr"><hr /></div>
            邮箱： {$userInfo.email}<br />
            <div class="bk20 hr"><hr /></div>
            上次登陆IP： {$userInfo.last_login_ip}<br />
            <div class="bk20 hr"><hr /></div>
            上次登陆时间：{$userInfo.last_login_time|date='Y-m-d H:i:s',###}<br />
            <div class="bk20 hr"><hr /></div>
            登录次数： {$userInfo.login_count}<br />
            </div>
        </div>
    </div>
    <div class="index-right" style="width:49%;  float:right">



        <div class="col-2 lf mr10" style="width:100%; ">
            <h6>昨天排行</h6>
            <div class="content">
              <volist name="ranking_yesterday" id="vo">
                <div class="rank-list">
                    <span><img src="{$vo.avatar}" height="26" width="26"></span>
                    <span>{$vo.username}</span>
                    <span>电话（{$vo.phone_num}）</span>
                </div>
                <if condition="count($__LIST__) neq $i"><div class="bk20 hr"></div></if>
              </volist>
            </div>
        </div>
        <div class="col-2 lf mr10" style="width:100%; margin-top:10px;">
            <h6>今日排行</h6>
            <div class="content">

              <volist name="ranking_today" id="vo">
                <div class="rank-list">
                    <span><img src="{$vo.avatar}" height="26" width="26"></span>
                    <span>{$vo.username}</span>
                    <span>电话（{$vo.phone_num}）</span>
                </div>
                <if condition="count($__LIST__) neq $i"><div class="bk20 hr"></div></if>
              </volist>

            </div>
        </div>
    </div>
    <div class="bk10"></div>
</div>
</body>
</html>